
package org.javaqq.face.main.lookandfeel;

import java.awt.*;
import javax.swing.*;
import javax.swing.plaf.*;
import javax.swing.plaf.basic.*;

public class JavaQQToolBarSeparatorUI extends BasicToolBarSeparatorUI {

    public static ComponentUI createUI(JComponent c) {
        return new JavaQQToolBarSeparatorUI();
    }
    
    public void paint(Graphics g, JComponent c)
    {
        Graphics2D g2 = (Graphics2D)g;
        
        g2.setColor(UIManager.getColor("ToolBar.separatorColor"));
        g2.drawLine(c.getWidth()/2, 0, c.getWidth()/2, c.getHeight());
    }
}
